package cn.itsource.cw.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wen'ge
 * @since 2021-01-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_employee_role")
@ApiModel(value="EmployeeRole对象", description="")
public class EmployeeRole extends Model<EmployeeRole> {

    private static final long serialVersionUID = 1L;

    private Long employeeId;

    private Long roleId;


    @Override
    protected Serializable pkVal() {
        return this.employeeId;
    }

}
